import Router from "koa-router";
import K from "../controller/index_controller.js"
const router = new Router()


router.get("/",K.get_list)

router.delete("/:id",K.del)

router.post("/:id",K.edit)

router.get("/:id",K.getbyid)

router.put("/",K.add)



export default router;
